package com.skillworld.webapp.model.userservice;

@SuppressWarnings("serial")
public class TeamNameAlreadyInUseException extends Exception 
{

    private String teamName;

    
    public TeamNameAlreadyInUseException(String name) 
    {
        super("The teamName '" + name + "' is already in use.");
        this.teamName = name;
    }
    

    public String getTeamName() 
    {
        return teamName;
    }
    
}
